.class public Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Ljava/util/Observer;


# instance fields
.field private a:Ljava/lang/String;

.field private b:Lcom/waiqin365/lightapp/view/SearchView;

.field private c:Landroid/view/View;

.field private d:Landroid/widget/Button;

.field private e:Landroid/view/View;

.field private f:Lcom/waiqin365/compons/view/FlowLayout;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/view/View;

.field private i:Landroid/view/View;

.field private j:Landroid/view/View;

.field private k:Landroid/widget/TextView;

.field private l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private m:Ljava/util/List;

.field private n:Landroid/widget/BaseAdapter;

.field private o:Lcom/waiqin365/lightapp/product/d/g;

.field private p:Lcom/waiqin365/lightapp/product/d/g;

.field private q:Landroid/os/Handler;

.field private r:Lcom/waiqin365/lightapp/view/NoNetView;

.field private s:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->s:Ljava/util/List;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)Lcom/waiqin365/lightapp/view/SearchView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    return-object v0
.end method

.method private a()V
    .locals 7

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->m:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v0, Lcom/waiqin365/lightapp/product/d/g;->m:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v4, "camera"

    const/4 v5, 0x0

    invoke-virtual {v0, v4, v5}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v5

    move-object v0, p0

    move v4, v3

    move v6, v3

    invoke-direct/range {v0 .. v6}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V

    :cond_0
    return-void
.end method

.method private a(I)V
    .locals 3

    const v2, 0x7f0805d3

    if-lez p1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->d:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->d:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->d:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->d:Landroid/widget/Button;

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method private a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 7

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v0, Lcom/waiqin365/lightapp/product/b/a/d;

    move v2, p1

    move-object v3, p2

    move-object v4, p3

    move-object v5, p4

    move-object v6, p5

    invoke-direct/range {v0 .. v6}, Lcom/waiqin365/lightapp/product/b/a/d;-><init>(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/product/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->q:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/product/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/product/b/c;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/b/b;->start()V

    return-void
.end method

.method private a(Lcom/waiqin365/base/db/jxccache/g;)V
    .locals 1

    if-nez p1, :cond_0

    const v0, 0x7f08065e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->showToast(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(Ljava/util/List;)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;Lcom/waiqin365/base/db/jxccache/g;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(Lcom/waiqin365/base/db/jxccache/g;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;Ljava/lang/String;Ljava/lang/String;ZZZZ)V
    .locals 0

    invoke-direct/range {p0 .. p6}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;Ljava/lang/String;Z)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;Ljava/lang/String;ZZ)V
    .locals 0

    invoke-direct {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(Ljava/lang/String;ZZ)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;ZILjava/util/List;)V
    .locals 0

    invoke-direct {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(ZILjava/util/List;)V

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V
    .locals 9

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_0
    const v0, 0x7f080602

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->showToast(Ljava/lang/String;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/product/e/a;->a(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_4

    if-nez p5, :cond_3

    if-eqz p6, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/product/e/a;->b(Ljava/lang/String;)V

    :cond_3
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0301e7

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    invoke-virtual {v0, v4}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    new-instance v1, Lcom/waiqin365/lightapp/product/bw;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/bw;-><init>(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    if-nez p5, :cond_4

    if-eqz p6, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/compons/view/FlowLayout;->addView(Landroid/view/View;I)V

    :cond_4
    if-eqz p3, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    const-string/jumbo v1, "1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->g:Ljava/lang/String;

    :goto_1
    iput-object v4, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iput-object v4, v0, Lcom/waiqin365/lightapp/product/d/j;->f:Ljava/lang/String;

    if-eqz p3, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->a(Ljava/lang/String;)V

    :goto_2
    const/4 v7, 0x0

    new-instance v8, Ljava/util/ArrayList;

    invoke-direct {v8}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    if-eqz v0, :cond_d

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_d

    const/4 v0, 0x0

    move v1, v0

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v1, v0, :cond_b

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/d;

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/d;->h:Ljava/lang/String;

    if-eqz v2, :cond_8

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/d;->h:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/j;->f:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_8

    new-instance v2, Lcom/waiqin365/lightapp/product/d/f;

    invoke-direct {v2, v0}, Lcom/waiqin365/lightapp/product/d/f;-><init>(Lcom/waiqin365/lightapp/product/d/d;)V

    invoke-interface {v8, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_5
    :goto_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_3

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/j;->g:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->g:Ljava/lang/String;

    goto/16 :goto_1

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->d()V

    goto :goto_2

    :cond_8
    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/d;->i:Ljava/lang/String;

    if-eqz v2, :cond_9

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/d;->i:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/j;->f:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_9

    new-instance v2, Lcom/waiqin365/lightapp/product/d/f;

    invoke-direct {v2, v0}, Lcom/waiqin365/lightapp/product/d/f;-><init>(Lcom/waiqin365/lightapp/product/d/d;)V

    invoke-interface {v8, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_4

    :cond_9
    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/d;->a:Ljava/lang/String;

    if-eqz v2, :cond_a

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/d;->a:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/j;->f:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_a

    new-instance v2, Lcom/waiqin365/lightapp/product/d/f;

    invoke-direct {v2, v0}, Lcom/waiqin365/lightapp/product/d/f;-><init>(Lcom/waiqin365/lightapp/product/d/d;)V

    invoke-interface {v8, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_4

    :cond_a
    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/d;->j:Ljava/lang/String;

    if-eqz v2, :cond_5

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/d;->j:Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/j;->f:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_5

    new-instance v2, Lcom/waiqin365/lightapp/product/d/f;

    invoke-direct {v2, v0}, Lcom/waiqin365/lightapp/product/d/f;-><init>(Lcom/waiqin365/lightapp/product/d/d;)V

    invoke-interface {v8, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_4

    :cond_b
    invoke-interface {v8}, Ljava/util/List;->size()I

    move-result v0

    :cond_c
    :goto_5
    sget-object v1, Lcom/waiqin365/lightapp/product/s;->o:Lcom/waiqin365/lightapp/product/s;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    if-eq v1, v2, :cond_1

    invoke-direct {p0, p5, v0, v8}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(ZILjava/util/List;)V

    goto/16 :goto_0

    :cond_d
    sget-object v0, Lcom/waiqin365/lightapp/product/s;->o:Lcom/waiqin365/lightapp/product/s;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    if-eq v0, v1, :cond_e

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->a(Lcom/waiqin365/lightapp/product/d/j;)I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/offlinedata/w;->b(Lcom/waiqin365/lightapp/product/d/j;)Ljava/util/List;

    move-result-object v1

    if-eqz v1, :cond_c

    invoke-interface {v8, v1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_5

    :cond_e
    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->showProgressDialog(Ljava/lang/String;)V

    if-eqz p5, :cond_f

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/j;->g:Ljava/lang/String;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    move v0, v7

    goto :goto_5

    :cond_f
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/j;->g:Ljava/lang/String;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v2

    const/4 v3, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v1, p0

    invoke-direct/range {v1 .. v6}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    move v0, v7

    goto :goto_5
.end method

.method private a(Ljava/lang/String;Z)V
    .locals 7

    const/4 v4, 0x1

    const/4 v2, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move v3, p2

    move v6, v4

    invoke-direct/range {v0 .. v6}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V

    return-void
.end method

.method private a(Ljava/lang/String;ZZ)V
    .locals 7

    const/4 v2, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x1

    move-object v0, p0

    move-object v1, p1

    move v3, p2

    move v4, p3

    invoke-direct/range {v0 .. v6}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(Ljava/lang/String;Ljava/lang/String;ZZZZ)V

    return-void
.end method

.method private a(Ljava/util/List;)V
    .locals 2

    if-nez p1, :cond_0

    const v0, 0x7f08065e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->showToast(Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    const-string/jumbo v1, "has_data"

    invoke-virtual {v0, v1, p1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->finish()V

    goto :goto_0
.end method

.method private a(ZILjava/util/List;)V
    .locals 6

    const/4 v5, 0x0

    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    invoke-interface {p3}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    const v1, 0x7f0805a4

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v5}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "search"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->finish()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/j;->g:Ljava/lang/String;

    const-string/jumbo v2, "1"

    if-ne v0, v2, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->s:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v3, v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->removeHeaderView(Landroid/view/View;)Z

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->s:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_4

    invoke-interface {p3}, Ljava/util/List;->size()I

    move-result v0

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    add-int/2addr v0, v2

    if-nez v0, :cond_4

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->h()V

    :goto_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e()V

    invoke-interface {p3}, Ljava/util/List;->size()I

    move-result v0

    const/16 v2, 0x14

    if-ne v0, v2, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->g()V

    :goto_3
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_4
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/b;

    goto :goto_4

    :cond_4
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->i()V

    goto :goto_2

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    goto :goto_3

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->k:Landroid/widget/TextView;

    const v2, 0x7f080628

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v4

    add-int/2addr v4, p2

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v3, v5

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/2addr v1, p2

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v3, "#ff9008"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-static {v2, v1, v3}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->m:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->m:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    invoke-interface {v0, v1, p3}, Ljava/util/List;->addAll(ILjava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    goto/16 :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)Lcom/waiqin365/lightapp/product/d/g;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    return-object v0
.end method

.method private b()V
    .locals 8

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/e/a;->a()[Ljava/lang/String;

    move-result-object v3

    array-length v0, v3

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v4

    array-length v5, v3

    move v1, v2

    :goto_0
    if-ge v1, v5, :cond_1

    aget-object v6, v3, v1

    const v0, 0x7f0301e7

    iget-object v7, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    invoke-virtual {v4, v0, v7, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    new-instance v6, Lcom/waiqin365/lightapp/product/bu;

    invoke-direct {v6, p0}, Lcom/waiqin365/lightapp/product/bu;-><init>(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)V

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    invoke-virtual {v6, v0, v2}, Lcom/waiqin365/compons/view/FlowLayout;->addView(Landroid/view/View;I)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->m:Ljava/util/List;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->n:Z

    if-eqz v0, :cond_2

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->c()Lcom/waiqin365/lightapp/product/a/co;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    return-void

    :cond_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->d()Lcom/waiqin365/lightapp/product/a/av;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    goto :goto_1
.end method

.method private c()Lcom/waiqin365/lightapp/product/a/co;
    .locals 4

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->m:Ljava/util/List;

    invoke-virtual {v0, v1, p0, v2}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;Ljava/util/List;)Lcom/waiqin365/lightapp/product/a/co;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/o;->a()Lcom/waiqin365/lightapp/product/o;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/lightapp/product/o;->a(Lcom/waiqin365/lightapp/product/s;Landroid/content/Context;)Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Ljava/util/List;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/product/d/g;->k:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->d(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v1, v1, Lcom/waiqin365/lightapp/product/d/g;->b:Z

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->c(Z)V

    new-instance v1, Lcom/waiqin365/lightapp/product/bv;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/bv;-><init>(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Lcom/waiqin365/lightapp/product/c/a;)V

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->g()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private d()Lcom/waiqin365/lightapp/product/a/av;
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/product/a/av;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->m:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/product/a/av;-><init>(Landroid/content/Context;Ljava/util/List;)V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/av;->a(Z)V

    return-object v0
.end method

.method private e()V
    .locals 2

    const/16 v1, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->n:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->j:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f0c0521

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->c:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method private f()V
    .locals 3

    const/16 v2, 0x8

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->r:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->r:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->a()V

    const v0, 0x7f0c0a0c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/SearchView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    const v1, 0x7f080627

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setHint(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c050d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->c:Landroid/view/View;

    const v0, 0x7f0c0504

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->d:Landroid/widget/Button;

    const v0, 0x7f0c0a15

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e:Landroid/view/View;

    const v0, 0x7f0c0a16

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/compons/view/FlowLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    const v0, 0x7f0c0134

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->h:Landroid/view/View;

    const v0, 0x7f0c0a18

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->g:Landroid/widget/TextView;

    const v0, 0x7f0c0a19

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->i:Landroid/view/View;

    const v0, 0x7f0c0a1a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->j:Landroid/view/View;

    const v0, 0x7f0c0a1b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->k:Landroid/widget/TextView;

    const v0, 0x7f0c09fb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->c:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method

.method private g()V
    .locals 3

    const/16 v2, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/e/a;->a()[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->o:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->c:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->i:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e()V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method private h()V
    .locals 6

    const/4 v5, 0x0

    const/16 v4, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a:Ljava/lang/String;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->h:Landroid/view/View;

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->i:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->j:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->c:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->g:Landroid/widget/TextView;

    const v1, 0x7f0805a1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a:Ljava/lang/String;

    aput-object v3, v2, v5

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a:Ljava/lang/String;

    const-string/jumbo v3, "#FF693C"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-static {v1, v2, v3}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method private i()V
    .locals 3

    const/4 v2, 0x0

    const/16 v1, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->i:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->h:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->j:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->f:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->n:Z

    if-nez v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->c:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->c:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method private j()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->d:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    new-instance v1, Lcom/waiqin365/lightapp/product/bx;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/bx;-><init>(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setOnSearchKeyChangedListener(Lcom/waiqin365/lightapp/view/hl;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->b:Lcom/waiqin365/lightapp/view/SearchView;

    new-instance v1, Lcom/waiqin365/lightapp/product/by;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/by;-><init>(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SearchView;->setSearchListener(Lcom/waiqin365/lightapp/view/hm;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/product/bz;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/bz;-><init>(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->l:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/product/ca;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/product/ca;-><init>(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    return-void
.end method


# virtual methods
.method public finish()V
    .locals 3

    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->p:Lcom/waiqin365/lightapp/product/d/g;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->n:Z

    if-eqz v0, :cond_0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->p:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    check-cast v0, Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->m()Ljava/util/List;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    :cond_0
    const-string/jumbo v0, "param"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->p:Lcom/waiqin365/lightapp/product/d/g;

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    :goto_0
    const/4 v0, -0x1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->setResult(ILandroid/content/Intent;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->finish()V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->n:Z

    if-eqz v0, :cond_2

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    check-cast v0, Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->m()Ljava/util/List;

    move-result-object v0

    iput-object v0, v2, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    :cond_2
    const-string/jumbo v0, "param"

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    invoke-virtual {v1, v0, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    goto :goto_0
.end method

.method public hasData(Lcom/fiberhome/gaea/client/a/c;)V
    .locals 2

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    instance-of v0, v0, Ljava/util/HashMap;

    if-eqz v0, :cond_0

    iget-object v0, p1, Lcom/fiberhome/gaea/client/a/c;->b:Ljava/lang/Object;

    check-cast v0, Ljava/util/HashMap;

    if-eqz v0, :cond_0

    const-string/jumbo v1, "key"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    check-cast v1, Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/product/a/co;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    :cond_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    const-string/jumbo v0, "param"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/g;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/product/d/g;->n:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    check-cast v0, Lcom/waiqin365/lightapp/product/a/co;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/product/a/co;->a(Ljava/util/List;)V

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->i:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(I)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x4d2
        :pswitch_0
    .end packed-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 2

    const/16 v1, 0x8

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->f:Lcom/waiqin365/compons/view/FlowLayout;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/FlowLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->e:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->g:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->mContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/a;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/product/e/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/e/a;->b()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->n:Landroid/widget/BaseAdapter;

    check-cast v0, Lcom/waiqin365/lightapp/product/a/co;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/a/co;->m()Ljava/util/List;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a(Ljava/util/List;)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0504 -> :sswitch_1
        0x7f0c0a17 -> :sswitch_0
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f0301e4

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->setContentView(I)V

    new-instance v0, Lcom/waiqin365/lightapp/product/cb;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/product/cb;-><init>(Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->q:Landroid/os/Handler;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "param"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/g;

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/lightapp/product/d/g;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/g;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    new-instance v1, Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/product/d/j;-><init>()V

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/d/g;->h:Lcom/waiqin365/lightapp/product/d/j;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->e:Ljava/lang/String;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->f()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->j()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->a()V

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/fiberhome/gaea/client/a/b;->addObserver(Ljava/util/Observer;)V

    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->o:Lcom/waiqin365/lightapp/product/d/g;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/g;->a()Lcom/waiqin365/lightapp/product/d/g;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/product/ProductSearchActivityNew;->p:Lcom/waiqin365/lightapp/product/d/g;

    goto :goto_0
.end method
